import React from 'react';
import { Carousel } from 'antd';
import './NotificationBar.scss';
const contentStyle = {
    margin: '10px 110px',
    height: '60px',
    color: '#1A1A1A',
    lineHeight: '60px',
    textAlign: 'center',
    background:'#fff',
    textAlign:'left',
    borderRadius: '10px',
    paddingLeft:'20px'
};
const Bar = () => (
    <Carousel autoplay style={contentStyle}>
        <div>
            <h3><span className='title'>公告栏：</span>第一条公告栏测试~</h3>
        </div>
        <div>
            <h3><span className='title'>公告栏：</span>第二条公告栏测试~</h3>
        </div>
        <div>
            <h3><span className='title'>公告栏：</span>第三条公告栏测试~</h3>
        </div>
    </Carousel>
);
export default Bar;